package com.ruoyi.mespro.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 浆纱数据汇总对象 shaft_size
 *
 * @author Jun Xiang
 * @date 2022-06-07
 */
public class ShaftSize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一索引 */
    private Long id;

    /** 机器编号 */
    @Excel(name = "机器编号")
    private String maccode;

    /** 品种编号 */
    @Excel(name = "品种编号")
    private String pdfcode;

    /** 织轴卡号 */
    @Excel(name = "织轴卡号")
    private String shaftcode;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String ordercode;

    /** 品种规格 */
    @Excel(name = "品种规格")
    private String construction;

    /** 缸号*/
    @Excel(name = "缸号")
    private Integer jarNo;

    @Excel(name = "产地")
    private String productArea;

    @Excel(name = "批次")
    private String batchNo;

    @Excel(name = "色号")
    private String colorNo;


    /** 班次日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "班次日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shiftdate;

    /** 班次类型 */
    @Excel(name = "班次类型")
    private Integer shifttype;

    /** 是否跨班次 */
    private Integer iscrossshift;

    /** 上机时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上机时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sjtime;

    /** 了机时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "了机时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ljtime;

    /** 轴状态 */
    @Excel(name = "轴状态")
    private Integer beamstatus;

    /** 操作员 */
    @Excel(name = "操作员")
    private String opworker;

    /** $column.columnComment */
    @Excel(name = "")
    private String station;

    /** 当前轴长 */
    @Excel(name = "平均车速")
    private Double avgSpeed;

    /** 当前总长 */
    @Excel(name = "当前总长")
    private Double curlength;

    /** 当前轴长 */
    @Excel(name = "当前轴长")
    private Double beamlength;

    /** 设定总长 */
    @Excel(name = "设定总长")
    private Integer setlength;

    /** 回潮率 */
    @Excel(name = "回潮率")
    private Double regain;

    /** 烘房温度1 */
    @Excel(name = "烘房温度1")
    private Integer temp1;

    /** 烘房温度2 */
    @Excel(name = "烘房温度2")
    private Integer temp2;

    /** 烘房温度3 */
    @Excel(name = "烘房温度3")
    private Integer temp3;

    /** 烘房温度4 */
    @Excel(name = "烘房温度4")
    private Integer temp4;

    /** 烘房温度5 */
    @Excel(name = "烘房温度5")
    private Integer temp5;

    /** 浆槽A温度 */
    @Excel(name = "浆槽A温度")
    private Integer tempa;

    /** 浆槽B温度 */
    @Excel(name = "浆槽B温度")
    private Integer tempb;

    /** 浆槽A压力 */
    @Excel(name = "浆槽A压力")
    private Integer pressurea;

    /** 浆槽B压力 */
    @Excel(name = "浆槽B压力")
    private Integer pressureb;

    /** 托纱辊压力 */
    @Excel(name = "托纱辊压力")
    private Integer pressuretuosha;

    /** ZA1张力 */
    @Excel(name = "ZA1张力")
    private Integer tensionza1;

    /** ZB1张力 */
    @Excel(name = "ZB1张力")
    private Integer tensionzb1;

    /** Z4张力 */
    @Excel(name = "Z4张力")
    private Integer tensionz4;

    /** Z5张力 */
    @Excel(name = "Z5张力")
    private Integer tensionz5;

    /** 浆槽A液位 */
    @Excel(name = "浆槽A液位")
    private Integer yeweia;

    /** 浆槽B液位 */
    @Excel(name = "浆槽B液位")
    private Integer yeweib;

    /** 蜡槽1温度 */
    @Excel(name = "蜡槽1温度")
    private Integer tempwax1;

    /** 蜡槽2温度 */
    @Excel(name = "蜡槽2温度")
    private Integer tempwax2;

    /** 伸长Z2A */
    @Excel(name = "伸长Z2A")
    private Double stretchz2a;

    /** 伸长Z3A */
    @Excel(name = "伸长Z3A")
    private Double stretchz3a;

    /** 伸长Z2B */
    @Excel(name = "伸长Z2B")
    private Double stretchz2b;

    /** 伸长Z3B */
    @Excel(name = "伸长Z3B")
    private Double stretchz3b;

    /** 总伸长 */
    @Excel(name = "总伸长")
    private Double stretchtotal;




    public void setAlldataSizing(AlldataSizing alldataSizing){
        this.stretchtotal = alldataSizing.getStretchtotal();
        this.stretchz3b = alldataSizing.getStretchz3b();
        this.stretchz2b = alldataSizing.getStretchz2b();
        this.stretchz3a = alldataSizing.getStretchz3a();
        this.stretchz2a = alldataSizing.getStretchz2a();
        this.tempwax2 = alldataSizing.getTempwax2();
        this.tempwax1 = alldataSizing.getTempwax1();
        this.yeweib = alldataSizing.getYeweib();
        this.yeweia = alldataSizing.getYeweia();
        this.tensionz5 = alldataSizing.getTensionz5();
        this.tensionz4 = alldataSizing.getTensionz4();
        this.tensionzb1 = alldataSizing.getTensionzb1();
        this.tensionza1 = alldataSizing.getTensionza1();
        this.pressuretuosha = alldataSizing.getPressuretuosha();
        this.pressureb = alldataSizing.getPressureb();
        this.pressurea = alldataSizing.getPressurea();
        this.tempb = alldataSizing.getTempb();
        this.tempa = alldataSizing.getTempa();
        this.temp5 = alldataSizing.getTemp5();
        this.temp4 = alldataSizing.getTemp4();
        this.temp3 = alldataSizing.getTemp3();
        this.temp2 = alldataSizing.getTemp2();
        this.temp1 = alldataSizing.getTemp1();
        this.regain = alldataSizing.getRegain();
        this.setlength = alldataSizing.getSetlength();
        this.beamlength = alldataSizing.getBeamlength();
        this.curlength = alldataSizing.getCurlength();
        this.station = alldataSizing.getStation();



    }

    public Integer getJarNo() {
        return jarNo;
    }

    public void setJarNo(Integer jarNo) {
        this.jarNo = jarNo;
    }

    public String getProductArea() {
        return productArea;
    }

    public void setProductArea(String productArea) {
        this.productArea = productArea;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getColorNo() {
        return colorNo;
    }

    public void setColorNo(String colorNo) {
        this.colorNo = colorNo;
    }

    public Double getAvgSpeed() {
        return avgSpeed;
    }

    public void setAvgSpeed(Double avgSpeed) {
        this.avgSpeed = avgSpeed;
    }

    public String getConstruction() {
        return construction;
    }

    public void setConstruction(String construction) {
        this.construction = construction;
    }
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setMaccode(String maccode)
    {
        this.maccode = maccode;
    }

    public String getMaccode()
    {
        return maccode;
    }
    public void setPdfcode(String pdfcode)
    {
        this.pdfcode = pdfcode;
    }

    public String getPdfcode()
    {
        return pdfcode;
    }
    public void setShaftcode(String shaftcode)
    {
        this.shaftcode = shaftcode;
    }

    public String getShaftcode()
    {
        return shaftcode;
    }
    public void setOrdercode(String ordercode)
    {
        this.ordercode = ordercode;
    }

    public String getOrdercode()
    {
        return ordercode;
    }
    public void setShiftdate(Date shiftdate)
    {
        this.shiftdate = shiftdate;
    }

    public Date getShiftdate()
    {
        return shiftdate;
    }
    public void setShifttype(Integer shifttype)
    {
        this.shifttype = shifttype;
    }

    public Integer getShifttype()
    {
        return shifttype;
    }
    public void setIscrossshift(Integer iscrossshift)
    {
        this.iscrossshift = iscrossshift;
    }

    public Integer getIscrossshift()
    {
        return iscrossshift;
    }
    public void setSjtime(Date sjtime)
    {
        this.sjtime = sjtime;
    }

    public Date getSjtime()
    {
        return sjtime;
    }
    public void setLjtime(Date ljtime)
    {
        this.ljtime = ljtime;
    }

    public Date getLjtime()
    {
        return ljtime;
    }
    public void setBeamstatus(Integer beamstatus)
    {
        this.beamstatus = beamstatus;
    }

    public Integer getBeamstatus()
    {
        return beamstatus;
    }
    public void setOpworker(String opworker)
    {
        this.opworker = opworker;
    }

    public String getOpworker()
    {
        return opworker;
    }
    public void setStation(String station)
    {
        this.station = station;
    }

    public String getStation()
    {
        return station;
    }
    public void setCurlength(Double curlength)
    {
        this.curlength = curlength;
    }

    public Double getCurlength()
    {
        return curlength;
    }
    public void setBeamlength(Double beamlength)
    {
        this.beamlength = beamlength;
    }

    public Double getBeamlength()
    {
        return beamlength;
    }
    public void setSetlength(Integer setlength)
    {
        this.setlength = setlength;
    }

    public Integer getSetlength()
    {
        return setlength;
    }
    public void setRegain(Double regain)
    {
        this.regain = regain;
    }

    public Double getRegain()
    {
        return regain;
    }
    public void setTemp1(Integer temp1)
    {
        this.temp1 = temp1;
    }

    public Integer getTemp1()
    {
        return temp1;
    }
    public void setTemp2(Integer temp2)
    {
        this.temp2 = temp2;
    }

    public Integer getTemp2()
    {
        return temp2;
    }
    public void setTemp3(Integer temp3)
    {
        this.temp3 = temp3;
    }

    public Integer getTemp3()
    {
        return temp3;
    }
    public void setTemp4(Integer temp4)
    {
        this.temp4 = temp4;
    }

    public Integer getTemp4()
    {
        return temp4;
    }
    public void setTemp5(Integer temp5)
    {
        this.temp5 = temp5;
    }

    public Integer getTemp5()
    {
        return temp5;
    }
    public void setTempa(Integer tempa)
    {
        this.tempa = tempa;
    }

    public Integer getTempa()
    {
        return tempa;
    }
    public void setTempb(Integer tempb)
    {
        this.tempb = tempb;
    }

    public Integer getTempb()
    {
        return tempb;
    }
    public void setPressurea(Integer pressurea)
    {
        this.pressurea = pressurea;
    }

    public Integer getPressurea()
    {
        return pressurea;
    }
    public void setPressureb(Integer pressureb)
    {
        this.pressureb = pressureb;
    }

    public Integer getPressureb()
    {
        return pressureb;
    }
    public void setPressuretuosha(Integer pressuretuosha)
    {
        this.pressuretuosha = pressuretuosha;
    }

    public Integer getPressuretuosha()
    {
        return pressuretuosha;
    }
    public void setTensionza1(Integer tensionza1)
    {
        this.tensionza1 = tensionza1;
    }

    public Integer getTensionza1()
    {
        return tensionza1;
    }
    public void setTensionzb1(Integer tensionzb1)
    {
        this.tensionzb1 = tensionzb1;
    }

    public Integer getTensionzb1()
    {
        return tensionzb1;
    }
    public void setTensionz4(Integer tensionz4)
    {
        this.tensionz4 = tensionz4;
    }

    public Integer getTensionz4()
    {
        return tensionz4;
    }
    public void setTensionz5(Integer tensionz5)
    {
        this.tensionz5 = tensionz5;
    }

    public Integer getTensionz5()
    {
        return tensionz5;
    }
    public void setYeweia(Integer yeweia)
    {
        this.yeweia = yeweia;
    }

    public Integer getYeweia()
    {
        return yeweia;
    }
    public void setYeweib(Integer yeweib)
    {
        this.yeweib = yeweib;
    }

    public Integer getYeweib()
    {
        return yeweib;
    }
    public void setTempwax1(Integer tempwax1)
    {
        this.tempwax1 = tempwax1;
    }

    public Integer getTempwax1()
    {
        return tempwax1;
    }
    public void setTempwax2(Integer tempwax2)
    {
        this.tempwax2 = tempwax2;
    }

    public Integer getTempwax2()
    {
        return tempwax2;
    }
    public void setStretchz2a(Double stretchz2a)
    {
        this.stretchz2a = stretchz2a;
    }

    public Double getStretchz2a()
    {
        return stretchz2a;
    }
    public void setStretchz3a(Double stretchz3a)
    {
        this.stretchz3a = stretchz3a;
    }

    public Double getStretchz3a()
    {
        return stretchz3a;
    }
    public void setStretchz2b(Double stretchz2b)
    {
        this.stretchz2b = stretchz2b;
    }

    public Double getStretchz2b()
    {
        return stretchz2b;
    }
    public void setStretchz3b(Double stretchz3b)
    {
        this.stretchz3b = stretchz3b;
    }

    public Double getStretchz3b()
    {
        return stretchz3b;
    }
    public void setStretchtotal(Double stretchtotal)
    {
        this.stretchtotal = stretchtotal;
    }

    public Double getStretchtotal()
    {
        return stretchtotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("maccode", getMaccode())
            .append("pdfcode", getPdfcode())
            .append("shaftcode", getShaftcode())
            .append("ordercode", getOrdercode())
            .append("shiftdate", getShiftdate())
            .append("shifttype", getShifttype())
            .append("iscrossshift", getIscrossshift())
            .append("sjtime", getSjtime())
            .append("ljtime", getLjtime())
            .append("beamstatus", getBeamstatus())
            .append("opworker", getOpworker())
            .append("station", getStation())
            .append("curlength", getCurlength())
            .append("beamlength", getBeamlength())
            .append("setlength", getSetlength())
            .append("regain", getRegain())
            .append("temp1", getTemp1())
            .append("temp2", getTemp2())
            .append("temp3", getTemp3())
            .append("temp4", getTemp4())
            .append("temp5", getTemp5())
            .append("tempa", getTempa())
            .append("tempb", getTempb())
            .append("pressurea", getPressurea())
            .append("pressureb", getPressureb())
            .append("pressuretuosha", getPressuretuosha())
            .append("tensionza1", getTensionza1())
            .append("tensionzb1", getTensionzb1())
            .append("tensionz4", getTensionz4())
            .append("tensionz5", getTensionz5())
            .append("yeweia", getYeweia())
            .append("yeweib", getYeweib())
            .append("tempwax1", getTempwax1())
            .append("tempwax2", getTempwax2())
            .append("stretchz2a", getStretchz2a())
            .append("stretchz3a", getStretchz3a())
            .append("stretchz2b", getStretchz2b())
            .append("stretchz3b", getStretchz3b())
            .append("stretchtotal", getStretchtotal())
            .append("remark", getRemark())
            .toString();
    }
}
